package com.freely.dao;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.alibaba.fastjson.JSONObject;
import com.freely.domain.Group;

public interface ChatGroupDao {

	List<Group> findByCondition(DetachedCriteria criteria);

	void addChatGroup(Group group);

	void updateGroup(Group group);

	void deleteGroup(Group group);

	int update(JSONObject modifyObj, JSONObject conditionObj);
	
}
